package com.itheima.controller;

import com.itheima.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

public class UserController {
    @Autowired
    private UserService userService;

    @RequestMapping("/user")
    public String save(){
        userService.save();
        return "jsp/user.jsp";
    }

}
